from django.urls import path, include
from .views import BannerView
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
# 127.0.0.1:8000/api/v1/home/banner/  get
router.register('banner', BannerView, 'banner')
urlpatterns = [
    path('', include(router.urls))
]
